
<template>
  <main>
   
    <el-button  @click="send" type="primary">Primary</el-button>
  
  </main>
</template>
<script setup>
import user from "@/api/user"
import { getCurrentInstance } from "vue"; 
let { proxy } = getCurrentInstance();

function send() {

  user.useAddApi(666);
  console.log(proxy.$store.state)



  // ElMessage.error("error.message")
}


</script>
